import { Module } from '@nestjs/common';
import { ProductController } from './controller/product.controller';
import { ProductService } from './service/product.service';

@Module({
  controllers: [ProductController],
  providers: [ProductService],
  exports: [ProductService], // 导出 ProductService 使其成为共享服务
})
export class ProductModule {}